export default {
  changeCity (state, city) {
    state.city = city
    try {
      localStorage.city = city
    } catch (e) {}
  },
  changeIndex (state, index) {
    state.index = index
  },
  GalleryList (state, list) {
    state.list = list
  },
  changeDetailIsShow (state, isShow) {
    state.isShow = isShow
  },
  GetAuthUrl (state, userInfo) {
    state.userInfo = userInfo
  },
  changeNetWork (state, NET_WORK_STATUS) {
    state.NET_WORK_STATUS = NET_WORK_STATUS
  },
  changeStreet (state, street) {
    state.street = street
  },
  changeHistoryCity (state, historyCity) {
    state.historyCity = historyCity
  },
  changeDetailData (state, detailData) {
    state.detailData = detailData
  },
  changeDisCounts (state, disCounts) {
    state.disCounts = disCounts
  },
  changeSearchResult (state, searchResult) {
    state.searchResult = searchResult
  },
  changeSearchParams (state, searchParams) {
    state.searchParams = searchParams
  }
}
